package ltd.newbee.mall.service;

import ltd.newbee.mall.controller.vo.SearchPageCategoryVO;
import ltd.newbee.mall.entity.Film;
import ltd.newbee.mall.util.PageQueryUtil;
import ltd.newbee.mall.util.PageResult;

import java.util.List;

public interface FilmService {

    PageResult getFilmsPage(PageQueryUtil pageUtil);

    /**
     * 批量修改销售状态(上架下架)
     *
     * @param ids
     * @return
     */
    Boolean batchUpdateSellStatus(Long[] ids,int sellStatus);

    Film selectFilm(int filmId);

    List<Film> getFilms();

    String saveFilm(Film film);

    Film selectById(Long id);

    String UpdateFilm(Film film);
}
